

            <div class="title"><span class="title_icon"><img src="{bstoViewPath}images/bullet1.gif" alt="" title="" /></span>Contact us</div>
        
        	<div class="feat_prod_box_details">
            <p class="details_ContactUs">
             Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud. Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud.
            </p>

              	<div class="contact_form">
                <div class="form_subtitle">Information</div>   
                <div class="error">{inform}</div>
                <div id="messageBox"></div>
                <form name="contactus" action="" method="post" id="contactform">       
                    <div class="form_row">
                    <label class="contact"><strong>Name:</strong></label>
                    <input type="text"  class="contact_input" name ="name"  value="{value_name}"/>
                    </div>  

                    <div class="form_row">
                    <label class="contact"><strong>Email:</strong></label>
                    <input type="text"  class="contact_input" name ="email" value="{value_email}" />
                    </div>


                    <div class="form_row">
                    <label class="contact"><strong>Phone:</strong></label>
                    <input type="text"  class="contact_input" name ="phone"  value="{value_phone}"/>
                    </div>
                    
                    <div class="form_row">
                    <label class="contact"><strong>Company:</strong></label>
                    <input type="text" class="contact_input" name ="company"  value="{value_company}" />
                    </div>


                    <div class="form_row">
                    <label class="contact"><strong>Message:</strong></label>
                    <textarea class="contact_textarea" name ="message" >{value_message}</textarea>
                    </div>
                    <div class="form_row">
                        <label>{name}</label>
                        <label>{email}</label>
                        <label>{phone}</label>
                        <label>{company}</label>
                        <label>{message}</label>
                    </div>
                    <div class="errorValidate" style="color: #a53d17;"></div>
                    
                    
                    <div class="form_row">
                    <input type="submit" class="register" value="send" />                    </div>  
                    </form>
                </div>  
            
          </div>	    
        <div class="clear"></div>


<script type="text/javascript" charset="utf-8" src="{bstoViewPath}js/jquery.validate.min.js"></script>
<script>
$(document).ready(function(){
	$.validator.addMethod(
	        "regexp",
	        function(value, element, regexp) {
	            var check = false;
	            var re = new RegExp(regexp);
	            return this.optional(element) || re.test(value);
	        },
	        "Please check your input."
	);
 	$("#contactform").validate({
    	rules: {
			name: { required: true, regexp: "^[a-zA-Z][a-zA-Z' ']*$" },
			email: { required: true, email : true},
			phone: { digits: true },
			message: { required: true, maxlength: 140 }	
		},
		messages: {
			name: {
				required: "Please enter your name.<br/>",	
				regexp: "Please choose an valid name.<br/>",		
			},
			email: {
				required: "Please enter your email.<br/>",
				email: "Please use a valid email format.<br/>",
			},
			phone: {
				digits: "Please use a valid phone number.<br/>",
			},
			message: {
				required: "Please enter your message content.<br/>",
				maxlength: "Please shorten your message.<br/>",
			}
		},
        errorPlacement: function(error, element){
		         // $("div.errorValidate").html(error);
				$("div.errorValidate").append(error);
		},
	});
});
</script>